#pragma once
#include "KRenderUtil.h"

class VShader_FullScreenQuad : public VShader
{
	VDECLARE_SHADER(VShader_FullScreenQuad);
	static BOOL IsValid()
	{
		return TRUE;
	}
	static void SetupCompileContext(VShaderCompileContext& CompileContext)
	{

	}
	static VShader* CreateShader()
	{
		VASSERT(m_Instance == NULL);
		m_Instance = VNew VShader_FullScreenQuad;
		return m_Instance;
	}

	virtual void RT_InitParameters() 
	{
		DiffuseTex.RT_Attach(this, "DiffuseTex", 0);
		VASSERT(DiffuseTex);
	}

public:
	VShaderTextureParameter DiffuseTex;
	static VShader_FullScreenQuad* m_Instance;
};

